package oop.day02;

public class Person {
    String name;
    int age;
    String address;

    Person(){}
    Person(String name, int age, String address) {
        this.name = name;
        this.age = age;
        this.address = address;
    }

    public void eat(){
        System.out.println(this.name+"eat");
    }
    public void sleep(){
        System.out.println(this.name+"sleep");
    }
    public void sayHi(){
        System.out.println(this.name+"hi");
    }
}
